<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"   
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:h="http://java.sun.com/jsf/html">
    <h:head>
        <ui:composition>
            <meta name="viewport" content="initial-scale = 1.0, maximum-scale = 1.0, user-scalable = no, width = device-width"/>

            <link href="${request.contextPath}/resources/images/favicon.ico" rel="shortcut icon" type="image/x-icon" />
            <title>${msg.title_page}</title>
            <style type="text/css">
                @font-face {
                    font-family: 'THSarabunNewfont';
                    src: url('${request.contextPath}/resources/fonts/THSarabunNew.ttf'), 
                        url('${request.contextPath}/resources/fonts/THSarabunNewItalic.ttf'), 
                        url('${request.contextPath}/resources/fonts/THSarabunNewBoldItalic.ttf') , 
                        url('${request.contextPath}/resources/fonts/THSarabunNewBold.ttf');
                    font-weight: normal;
                    font-style: normal;
                }
                body{
                    font-family:THSarabunNewfont;
                }
            </style>
           <script src="${request.contextPath}/resources/js/html5.js"></script>
            <link rel="stylesheet" href="${request.contextPath}/resources/css/style.css" media="screen"/>
            <link rel="stylesheet" href="${request.contextPath}/resources/css/style.responsive.css" media="all"/>


<!--            <script src="${request.contextPath}/resources/js/jquery.js"></script>-->
            <script src="${request.contextPath}/resources/js/script.js"></script>
            <script src="${request.contextPath}/resources/js/script.responsive.js"></script>
            <style>.art-content .art-postcontent-0 .layout-item-0 { border-right-style:dotted;border-bottom-style:dotted;border-right-width:1px;border-bottom-width:1px;border-right-color:#CED1B8;border-bottom-color:#CED1B8; padding-right: 10px;padding-left: 10px;  }
                .art-content .art-postcontent-0 .layout-item-1 { border-bottom-style:dotted;border-bottom-width:1px;border-bottom-color:#CED1B8; padding-right: 10px;padding-left: 10px;  }
                .art-content .art-postcontent-0 .layout-item-2 { border-right-style:dotted;border-right-width:1px;border-right-color:#CED1B8; padding-right: 10px;padding-left: 10px;  }
                .art-content .art-postcontent-0 .layout-item-3 { padding-right: 10px;padding-left: 10px;  }
                .ie7 .art-post .art-layout-cell {border:none !important; padding:0 !important; }
                .ie6 .art-post .art-layout-cell {border:none !important; padding:0 !important; }

            </style>
            <script>
                //<![CDATA[
                var versionReq = 9;
                if(get_browser().toString().indexOf("IE")>-1){
                    var version = (get_browser_version().replace("IE",""));
                    if(version<versionReq){
                        var msg = "ระบบรายงานผลการปฏิบัติงาน ไม่สนับสนุนการทำงาน Internet explorer ตำกว่า เวอชั่น "+versionReq +" ระบบกำลังนำคุณไปยังหน้าดาวน์โหลด";
                        alert(msg);
                        window.location = "${request.contextPath}/pages/downloads/browser.xhtml";
                    }
                }
                //]]>
            </script>
        </ui:composition>
    </h:head>
    <body>
    </body>
</html>